/******************************************************************************/
/*!
\file   CustomVertexFormat.hpp
\author David Seah Seng Chong
\par    email: sengchong.seah\@digipen.edu
\par    DigiPen login: sengchong.seah
\par    Course: GAM200
\date   21/10/2011
\brief	
Header file
Vertex Format

    Functions included in file:\n
    struct Vertex_UD 
    struct Vertex_UTx

    Copyright (C) 2011 DigiPen Institute of Technology.
    Reproduction or disclosure of this file or its contents without the
    prior written consent of DigiPen Institute of Technology is prohibited.
*/
/******************************************************************************/
#ifndef CUSTOM_VERTEX_FORMATS_H
#define CUSTOM_VERTEX_FORMATS_H
#include <d3d9.h>



/****************************************************************************/
/*!
        
        Color Vertex

*/
/****************************************************************************/
struct Vertex_UD {
    float x, y, z;
	
	DWORD color;

	float u, v;

	
};

#define FVF_Vertex_UD (D3DFVF_XYZ  | D3DFVF_DIFFUSE | D3DFVF_TEX2)

/****************************************************************************/
/*!
        
        Texture Vertex

*/
/****************************************************************************/
struct Vertex_UTx {
    float x, y, z;
    float tu1, tv1;
};

#define FVF_Vertex_UTx (D3DFVF_XYZ |  D3DFVF_TEX2)




#endif